﻿.imgVerticalMiddle {
	overflow:hidden;
	text-align:center;
	display:table;
	table-layout:fixed;
}
.imgVerticalMiddle a {
	display:table-cell;
	vertical-align:middle;
	width:inherit;
	height:inherit;
	+display:block;
	+font-size:expression(this.parentNode.clientHeight+"px");
	/*+font-size:expression(this.parentNode.clientHeight/1.14+"px");*/
}
.imgVerticalMiddle a img {
	max-width:100%;
	max-height:100%;
	+vertical-align:middle;
	_width:expression((this.clientWidth>this.parentNode.parentNode.clientWidth||this.clientHeight>this.parentNode.parentNode.clientHeight) ? (this.clientWidth>this.clientHeight ? this.parentNode.parentNode.clientWidth+"px" : this.parentNode.parentNode.clientHeight*this.clientWidth/this.clientHeight+"px") : "?");
}